package cn.stylefeng.guns.modular.manager.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@TableName("flow_service_area_price")
public class FlowServiceAreaPrice implements Serializable {
    private static final long serialVersionUID=1L;

    @TableId(value = "area_price_id", type = IdType.AUTO)
    private Long areaPriceId;

    @TableField("area_price")
    private BigDecimal areaPrice;

    @TableField("area_begin")
    private String areaBegin;

    @TableField("area_end")
    private String areaEnd;

    @TableField("service_type_id")
    private Long serviceTypeId;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    @TableField("store_city_id")
    private Long storeCityId;

    @TableField("type")
    private Integer type;

    @TableField(exist = false)
    private String note;
    @TableField(exist = false)
    private double totalPrice;

    public Long getAreaPriceId() {
        return areaPriceId;
    }

    public void setAreaPriceId(Long areaPriceId) {
        this.areaPriceId = areaPriceId;
    }

    public BigDecimal getAreaPrice() {
        return areaPrice;
    }

    public void setAreaPrice(BigDecimal areaPrice) {
        this.areaPrice = areaPrice;
    }

    public String getAreaBegin() {
        return areaBegin;
    }

    public void setAreaBegin(String areaBegin) {
        this.areaBegin = areaBegin;
    }

    public String getAreaEnd() {
        return areaEnd;
    }

    public void setAreaEnd(String areaEnd) {
        this.areaEnd = areaEnd;
    }

    public Long getServiceTypeId() {
        return serviceTypeId;
    }

    public void setServiceTypeId(Long serviceTypeId) {
        this.serviceTypeId = serviceTypeId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getStoreCityId() {
        return storeCityId;
    }

    public void setStoreCityId(Long storeCityId) {
        this.storeCityId = storeCityId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(double totalPrice) {
        this.totalPrice = totalPrice;
    }

    @Override
    public String toString() {
        return "FlowServiceAreaPrice{" +
                "areaPriceId=" + areaPriceId +
                ", areaPrice=" + areaPrice +
                ", areaBegin=" + areaBegin +
                ", areaEnd=" + areaEnd +
                ", serviceTypeId=" + serviceTypeId +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", storeCityId=" + storeCityId +
                ", type=" + type +
                ", note='" + note + '\'' +
                ", totalPrice=" + totalPrice +
                '}';
    }
}
